//
//  Constant.swift
//  WeiBoProject
//
//  Created by MAC on 16/2/26.
//  Copyright © 2016年 LTQ. All rights reserved.
//

import UIKit

let App_URL = "http://www.baidu.com"
let App_KEY = "578812138"
let App_SECRET = "b259c7aea43fade3088e42994565ddf5"

// MARK: - 全局通知定义
/// 切换根视图控制器通知 － 一定要够长，要有前缀
let kSwitchRootViewControllerNotification = "WBSwitchRootViewControllerNotification"


/// 全局外观渲染颜色 -> 延展出`配色`的管理类
let kAppearanceTintColor = UIColor.orangeColor()

//MARK:--系统宽高度
let kUIScreenBounds = UIScreen.mainScreen().bounds
let kUIScreenWidth = UIScreen.mainScreen().bounds.width
let kUIScreenHeight = UIScreen.mainScreen().bounds.height

//MARK:--颜色相关

func randomColor() -> UIColor{
    return  UIColor(red: CGFloat(random()%255)/255.0, green: CGFloat(random()%255)/255.0, blue: CGFloat(random()%255)/255.0, alpha: 1)
}
